//
//  PhotoCell.m
//  SinaWeibo
//
//  Created by Apple on 16/8/19.
//  Copyright © 2016年 Apple. All rights reserved.
//

#import "PhotoCell.h"
#import "pictureModel.h"

@interface PhotoCell()




@end

@implementation PhotoCell

-(void)setPictureModel:(pictureModel *)pictureModel{
    
    _pictureModel = pictureModel;
    
    NSURL *pictureURL = [NSURL URLWithString:pictureModel.thumbnail_pic];
    
    [self.pictureView sd_setImageWithURL:pictureURL placeholderImage:[UIImage imageNamed:@"icon_os7"]];
    
}

@end
